import request from '@/utils/request'

// 查询YmUserSearchLog列表
export function listYmUserSearchLog(query) {
    return request({
        url: '/api/v1/userSearchLogList',
        method: 'get',
        params: query
    })
}

// 查询YmUserSearchLog详细
export function getYmUserSearchLog (userSearchLogId) {
    return request({
        url: '/api/v1/userSearchLog/' + userSearchLogId,
        method: 'get'
    })
}


// 新增YmUserSearchLog
export function addYmUserSearchLog(data) {
    return request({
        url: '/api/v1/userSearchLog',
        method: 'post',
        data: data
    })
}

// 修改YmUserSearchLog
export function updateYmUserSearchLog(data) {
    return request({
        url: '/api/v1/userSearchLog',
        method: 'put',
        data: data
    })
}

// 删除YmUserSearchLog
export function delYmUserSearchLog(userSearchLogId) {
    return request({
        url: '/api/v1/userSearchLog/' + userSearchLogId,
        method: 'delete'
    })
}
